package com.xci.app.controller;

import cn.hutool.core.map.MapUtil;
import com.xci.core.annotation.AllowAnonymous;
import com.xci.core.annotation.Authorize;
import com.xci.core.base.GMap;
import com.xci.core.base.RestMessage;
import com.xci.core.base.WebController;
import com.xci.core.domain.LoginModel;
import com.xci.core.helper.CookieHelper;
import com.xci.core.helper.Helper;
import com.xci.core.helper.WebHelper;
import com.xci.core.internal.Const;
import com.xci.core.internal.Sys;
import com.xci.sys.entity.SysUser;
import com.xci.sys.service.LockUserService;
import com.xci.sys.service.OnlineUserService;
import com.xci.sys.service.UserService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;

/**
 * 默认控制器
 */
@Controller
@RequestMapping("/")
public class DefaultController extends WebController {
    @GetMapping("/")
    public String index(ModelMap map) {
        return "index";
    }
}